package com.lungle.warmdiary.app.model.response;

import com.lungle.warmdiary.app.AppException;
import com.lungle.warmdiary.app.model.Entity;

import java.io.IOException;
import java.io.InputStream;

/**
 * Created by God on 2016/8/14.
 */
public class AlipayAccount extends Entity {
    private String accountName;
    private String account;
    private double income;

    public static AlipayAccount parse(InputStream inputStream) throws IOException, AppException {
        AlipayAccount account = new AlipayAccount();
        account.setAccountName("dongdong");
        account.setAccount("123893483");

        return account;
    }

    public double getIncome() {
        return income;
    }

    public void setIncome(double income) {
        this.income = income;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
}
